/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package actions.menu;

import gui.article.ArticleGroupPanel;
import gui.article.newArticle;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import model.gui.MenuModel;

/**
 *
 * @author Joris
 */
public class OpenGroupAction extends AbstractAction{
    
    private MenuModel model;

    public OpenGroupAction(MenuModel model){
        this.model = model;
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        model.addTab(new ArticleGroupPanel(model), "Nieuw artikel", false);
    }
    
}
